package com.yuanfeng.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanfeng.base.dto.GdbMerchantAgreementDTO;
import com.yuanfeng.base.entity.BaseMerchantAgreementEntity;
import com.yuanfeng.base.vo.GdbMerchantAgreementVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName BaseMerchantAgreementMapper
 * @Description 入驻协议
 * @Author cf
 * @Date 2023/6/21 14:04
 * @Version 1.0
 */
@Mapper
public interface BaseMerchantAgreementMapper extends BaseMapper<BaseMerchantAgreementEntity> {

    GdbMerchantAgreementVO selectAgreement(@Param("gdbMerchantAgreement") GdbMerchantAgreementDTO gdbMerchantAgreement);

    /**
     * 新增协定
     *
     * @param baseMerchantAgreementEntity
     */
    void addAgreement(BaseMerchantAgreementEntity baseMerchantAgreementEntity);
}
